package cn.edu.zjusc.Rmi;

import java.util.List;

import javax.ejb.Stateless;

import org.jboss.ejb3.annotation.RemoteBinding;

import cn.edu.zjusc.POJO.ExamInfo;
import cn.edu.zjusc.Webservice.ExamService;

@Stateless
@RemoteBinding(jndiBinding="ExamEjbRemote")
public class ExamAgent implements IExamRemote {
	public List<ExamInfo> GetAllExamInfoByRoomNum(int roomNum ) {
		ExamService es=new ExamService();
		return es.GetAllExamInfoByRoomNum(roomNum);
	}

}
